package com.example.dto.dept;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeptCriteria {

    /**
     * 部门名称
     */
    private String name;

    private Long pid;

    /**
     * 状态
     */
    private String enabled;
    /**
     * 创建时间
     */
    private List<Timestamp> createTime;
    /**
     * 顶级部门
     */
    private Boolean pidIsNull;

    private int page;

    private int size;
}
